package cn.tx.model;

public class Tcourse {
    private int tno;
    private int cno;
    private String tname;
    private String cname;
    private int ccredit;

    public int getTno() {
        return tno;
    }

    public void setTno(int tno) {
        this.tno = tno;
    }

    public int getCno() {
        return cno;
    }

    public void setCno(int cno) {
        this.cno = cno;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getCcredit() {
        return ccredit;
    }

    public void setCcredit(int ccredit) {
        this.ccredit = ccredit;
    }
    @Override
    public String toString() {
        return "Dept{" +
                "tno=" + tno +
                ", cno='" + cno+ '\'' +
                ", tname='" + tno + '\'' +
                ", cname='" + tname + '\'' +
                ",ccredit='"+ccredit+'\''+
                '}';
    }
}
